﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ping.aspx.cs" Inherits="Com.Rivyer.Web.ip.ping" %>

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>ping</title>
    <link href="../css/style.css" rel="stylesheet" type="text/css" />
    <link href="../css/rivcontent.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <%if (DesignMode)
      { %>
    <script type="text/javascript" src="../js/ASPxScriptIntelliSense.js"></script>
    <%} %>
    <script type="text/javascript">
       
    </script>
    <div>
        <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
                <td height="30">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <td height="24" bgcolor="#353c44">
                                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                    <tr>
                                        <td>
                                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                <tr>
                                                    <td width="6%" height="19" valign="bottom">
                                                        <div align="center">
                                                            <img src="../images/tb.gif" width="14" height="14" /></div>
                                                    </td>
                                                    <td width="94%" valign="bottom">
                                                        <span class="STYLE1">ping</span>
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td align="center" style="font-size: 12px; width=100%">
                    <div id="rivcontent">
                        <div class="title">
                            Ping工具</div>
                        <table border="0" cellpadding="10px" cellspacing="0" style="border: 1px solid #87adbf;
                            vertical-align: top; text-align: center; width: 500px">
                            <tr>
                                <td colspan="2" align="center">
                                    <dx:ASPxMemo ID="ASPxMemo1" runat="server" Height="71px" Width="350px" Visible="false"
                                        BorderRight-BorderStyle="NotSet" NullText="输入批量IP地址1.每个IP占位1行;2.也可以是一个vlan段的范围,示例:192.168.104.1-254">
                                    </dx:ASPxMemo>
                                    <dx:ASPxTextBox ID="ASPxTextBox1" runat="server" Width="350px" NullText="输入单个IP地址格式*.*.*.*">
                                    </dx:ASPxTextBox>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2" align="center">
                                    <dx:ASPxRadioButtonList ID="ASPxRadioButtonList2" runat="server" SelectedIndex="0"
                                        EnableDefaultAppearance="False" RepeatDirection="Horizontal" AutoPostBack="True"
                                        OnSelectedIndexChanged="ASPxRadioButtonList1_SelectedIndexChanged">
                                        <Items>
                                            <dx:ListEditItem Text="单个" Value="1" Selected="True" />
                                            <dx:ListEditItem Text="批量" Value="2" />
                                        </Items>
                                        <Border BorderStyle="None" />
                                    </dx:ASPxRadioButtonList>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    <dx:ASPxButton ID="ASPxButton3" runat="server" Text="ping" 
                                        onclick="ASPxButton3_Click">
                                    </dx:ASPxButton>
                                </td>
                                <td align="left">
                                    <dx:ASPxButton ID="ASPxButton4" runat="server" Text="mac" 
                                        onclick="ASPxButton4_Click">
                                    </dx:ASPxButton>
                                </td>
                            </tr>
                        </table>
                        <span class="tips">Tips:</span>1.ping命令与获取mac地址命令需要一定的时间,所以一次不要测试太多数据,<br />否则容易导致服务器无响应
                        <div style="margin:10px auto auto auto">
                            <dx:ASPxMemo ID="ASPxMemo2" runat="server" Height="300px" Width="500px" Font-Size="14px">
                            </dx:ASPxMemo>
                        </div>
                    </div>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
